package com.imooc.ecommerce.service.async;

import com.imooc.ecommerce.goods.GoodsInfo;

import java.util.List;

/**
 * <p>异步服务接口定义
 *
 * @author Yaxi.Zhang
 * @since 2022/11/12 17:03
 */
public interface IAsyncService {
    /**
     * <p>异步将商品信息保存下来
     */
    void asyncImportGoods(List<GoodsInfo> goodsInfos, String taskId);
}
